package com.woniuxy.educationplatform.service;

import com.woniuxy.educationplatform.bean.CourseBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICourseService {
    CourseBean findById(Long id);
    List<CourseBean> findAll();
    List<CourseBean> findOneByCondition(String courseName,Long id);
    void delete(Long id);
    //这个放回值我们可能只需要用到id。  新增
    void saveCourseBean(CourseBean courseBean);
    void updateCourseBean(CourseBean courseBean);
    String[] getCourseName();
}
